{% extends 'base.html' %}
{% block title %}  - Other links{% endblock %}

{% block other_name %}<span style="font-size:18px;background-color: #BDBDBD;"> Other </span> {% endblock %}

{% block content %}

<div id="content" style="position:absolute; top:20px; left:0px; width:610px; background-color: #1A1A1A; layer-background-color: #1A1A1A;"> 

{% if perms.users.is_producer %}
<b>User Management</b> <hr>
<p>

	<li/><a href="/user/new/"><img src="/site_media/img/task.gif"> New User</a></li>
	<li/><a href="/user/register/"><img src="/site_media/img/task.gif"> New Client</a></li>
    <li/><a href="/admin/auth/user/" target='_blank'><img src="/site_media/img/task.gif"> Delete user</a></li>
	<li/><a href="/user/edit/all/"><img src="/site_media/img/task.gif"> Edit User</a></li>
	{% endif %}
</p>

{% if user.username == 'kth' %}
<b>System admin</b> <hr>
<p>

	<li/><a href="/admin/"><img src="/site_media/img/admin.gif"> Admin </a></li>
	<li/><a href="/user/videos/"><img src="/site_media/img/task.gif"> Manage all videos</a></li>
    <li/><a href="/user/basket/"><img src="/site_media/img/basket.png" width="18" height="18"> Manage baskets</a></li>
<li/><a href="/user/category/"><img src="/site_media/img/export.gif"> Manage categories</a></li>
	<li/><a href="/user/emails/"><img src="/site_media/img/export.gif"> Send statistic e-mails</a></li>
	{% endif %}
</p>

</div>
{% endblock %}